﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NamAn_PPMv2.Models.ChangePasswordModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Change Password
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm("ChangePassword", "Account", FormMethod.Post, new { @class = "form-signin", @Style = "margin-top:50px;" })) { %>
        <div style="text-align: center;">
            <h3 class="form-signin-heading" style="color: #006699">
                Đổi mật khẩu
            </h3>
        </div>
        <div>
            <% = Html.ValidationSummary(false, null, new { @class = "alert alert-error" })%>

            <% = Html.LabelFor(p => p.OldPassword) %>
            <% = Html.PasswordFor(p => p.OldPassword, new { @class = "input-block-level" }) %>

            <% = Html.LabelFor(p => p.NewPassword) %>
            <% = Html.PasswordFor(p => p.NewPassword, new { @class = "input-block-level" }) %>

            <% = Html.LabelFor(p => p.ConfirmPassword) %>
            <% = Html.PasswordFor(p => p.ConfirmPassword, new { @class = "input-block-level" }) %>

            <div class="row-fluid">
                <div class="span6" style="margin-top:5px;">
                    <input class="btn btn-large btn-block btn-primary" type="submit" value="Đồng ý" />
                </div>
                <div class="span6" style="margin-top:5px;">
                    <input class="btn btn-large btn-block" type="button" value="Bỏ qua" />
                </div>
            </div>
        </div>
    <% } %>
</asp:Content>
